package com.university.mentalhealthplatform.global.rbac.repository;

import com.university.mentalhealthplatform.global.rbac.model.Role;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface RoleRepository extends JpaRepository<Role, Long> {
    Optional<Role> findByIdentifier(String identifier);
}

